package com.example.designpattenexample.mixpatten.example1;

public class Client {
    public static void main(String[] args) {

        ICard card = new ICard("10001",600,400);

        Trade trade = new Trade();
        trade.setTradeNo("1001");
        trade.setAmount(401);
        DeductionFacade.deduct(card,trade);
        card.showCardInfo();
    }
}
